package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallServiceSettleadjustmentModifyRequest struct {
	/*
	   结算调整单父节点     */
	ParamSettleAdjustmentRequest *domain.TmallServiceSettleadjustmentModifySettleAdjustmentRequest `json:"param_settle_adjustment_request" required:"true" `
}

func (s *TmallServiceSettleadjustmentModifyRequest) SetParamSettleAdjustmentRequest(v domain.TmallServiceSettleadjustmentModifySettleAdjustmentRequest) *TmallServiceSettleadjustmentModifyRequest {
	s.ParamSettleAdjustmentRequest = &v
	return s
}

func (req *TmallServiceSettleadjustmentModifyRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ParamSettleAdjustmentRequest != nil {
		paramMap["param_settle_adjustment_request"] = util.ConvertStruct(*req.ParamSettleAdjustmentRequest)
	}
	return paramMap
}

func (req *TmallServiceSettleadjustmentModifyRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
